﻿
/*******************************************************************************
#                    OnionsEntity.cst
#  Comment:
#
#  Current Version: V1.0
#  Author: 
#
#  History List:
#  V1.0    Created by Onions@2009-8-18 21:06:30
#
#******************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using IBatisNet.Extend;

namespace ExpertMIS.Entities
{

    /// <summary><c>TopicEntity</c> Business Object.</summary>
    [Serializable]
    public class TopicEntity : BaseEntity
    {

        #region Constructor

        public TopicEntity()
        {
            // construct your entity
        }

        #endregion

        #region Properties

        #region TopicID

        private int _topicID;

        /// <summary>Gets or sets TopicID</summary>
        public int TopicID
        {
            get { return _topicID; }
            set { _topicID = value; }
        }

        #endregion

        #region ForumID

        private int _forumID;

        /// <summary>Gets or sets ForumID</summary>
        public int ForumID
        {
            get { return _forumID; }
            set { _forumID = value; }
        }

        #endregion

        #region UserID

        private int _userID;

        /// <summary>Gets or sets UserID</summary>
        public int UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }

        #endregion

        #region UserName

        private String _userName;

        /// <summary>Gets or sets UserName</summary>
        public String UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        #endregion

        #region Posted

        private DateTime _posted;

        /// <summary>Gets or sets Posted</summary>
        public DateTime Posted
        {
            get { return _posted; }
            set { _posted = value; }
        }

        #endregion

        #region Topic

        private String _topic;

        /// <summary>Gets or sets Topic</summary>
        public String Topic
        {
            get { return _topic; }
            set { _topic = value; }
        }

        #endregion

        #region Views

        private int _views;

        /// <summary>Gets or sets Views</summary>
        public int Views
        {
            get { return _views; }
            set { _views = value; }
        }

        #endregion

        #region Priority

        private Int16 _priority;

        /// <summary>Gets or sets Priority</summary>
        public Int16 Priority
        {
            get { return _priority; }
            set { _priority = value; }
        }

        #endregion

        #region PollID

        private int _pollID;

        /// <summary>Gets or sets PollID</summary>
        public int PollID
        {
            get { return _pollID; }
            set { _pollID = value; }
        }

        #endregion

        #region TopicMovedID

        private int _topicMovedID;

        /// <summary>Gets or sets TopicMovedID</summary>
        public int TopicMovedID
        {
            get { return _topicMovedID; }
            set { _topicMovedID = value; }
        }

        #endregion

        #region LastPosted

        private DateTime _lastPosted;

        /// <summary>Gets or sets LastPosted</summary>
        public DateTime LastPosted
        {
            get { return _lastPosted; }
            set { _lastPosted = value; }
        }

        #endregion

        #region LastMessageID

        private int _lastMessageID;

        /// <summary>Gets or sets LastMessageID</summary>
        public int LastMessageID
        {
            get { return _lastMessageID; }
            set { _lastMessageID = value; }
        }

        #endregion

        #region LastUserID

        private int _lastUserID;

        /// <summary>Gets or sets LastUserID</summary>
        public int LastUserID
        {
            get { return _lastUserID; }
            set { _lastUserID = value; }
        }

        #endregion

        #region LastUserName

        private String _lastUserName;

        /// <summary>Gets or sets LastUserName</summary>
        public String LastUserName
        {
            get { return _lastUserName; }
            set { _lastUserName = value; }
        }

        #endregion

        #region NumPosts

        private int _numPosts;

        /// <summary>Gets or sets NumPosts</summary>
        public int NumPosts
        {
            get { return _numPosts; }
            set { _numPosts = value; }
        }

        #endregion

        #region Flags

        private int _flags;

        /// <summary>Gets or sets Flags</summary>
        public int Flags
        {
            get { return _flags; }
            set { _flags = value; }
        }

        #endregion

        #region DigestLevel

        private int _digestLevel;

        /// <summary>Gets or sets DigestLevel</summary>
        public int DigestLevel
        {
            get { return _digestLevel; }
            set { _digestLevel = value; }
        }

        #endregion

        #region ApproveStatus

        private int _approveStatus;

        /// <summary>Gets or sets ApproveStatus</summary>
        public int ApproveStatus
        {
            get { return _approveStatus; }
            set { _approveStatus = value; }
        }

        #endregion

        #region HasAttachments

        private int _hasAttachments;

        /// <summary>Gets or sets HasAttachments</summary>
        public int HasAttachments
        {
            get { return _hasAttachments; }
            set { _hasAttachments = value; }
        }

        #endregion

        #endregion
    }

}

